﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace yaai
{
    public partial class addWord : Form
    {

        public String word;
        public int profanityLevel;
        public addWord()
        {
            InitializeComponent();
            comboBox1.SelectedIndex = 0;
        }

        private void btn_OK_Click(object sender, EventArgs e)
        {
            word = txtWord.Text;
            profanityLevel = int.Parse(comboBox1.SelectedItem.ToString());

            this.Close();
        }

        private void btn_Cancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
